﻿@model Lavka.Models.Pages

@{
    ViewBag.Title = "Details";
}

<div class="panel ui-corner-all">
    <h2>Детальная информация страницы</h2>

    <div class="display-label">ParentId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ParentId)
    </div>

    <div class="display-label">Title</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">Keywords</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Keywords)
    </div>

    <div class="display-label">Path</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Path)
    </div>

    <div class="navigateButton">
    @Html.ActionLink("Редактировать", "Edit", new { path=Model.Path }) |
    @Html.ActionLink("К списку", "Index")
    </div>

</div>

